package top.air.backend.controller.task;

import top.air.backend.common.base.BaseController;
import top.continew.starter.extension.crud.enums.Api;

import io.swagger.v3.oas.annotations.tags.Tag;

import org.springframework.web.bind.annotation.*;

import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.air.backend.task.model.query.ProjectInfoQuery;
import top.air.backend.task.model.req.ProjectInfoReq;
import top.air.backend.task.model.resp.ProjectInfoDetailResp;
import top.air.backend.task.model.resp.ProjectInfoResp;
import top.air.backend.task.service.ProjectInfoService;

/**
 * 项目管理 API
 *
 * @author 文艺倾年
 * @since 2025/03/25 17:09
 */
@Tag(name = "项目管理 API")
@RestController
@CrudRequestMapping(value = "/task/projectInfo", api = {Api.PAGE, Api.DETAIL, Api.ADD, Api.UPDATE, Api.DELETE, Api.EXPORT})
public class ProjectInfoController extends BaseController<ProjectInfoService, ProjectInfoResp, ProjectInfoDetailResp, ProjectInfoQuery, ProjectInfoReq> {}
